//
//  MyViewController.m
//  电影er
//
//  Created by dllo on 16/6/25.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "MyViewController.h"

@interface MyViewController ()

@end

@implementation MyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self neirong];
    
}

-(void)neirong{
    UILabel *zhuce = [[UILabel alloc]initWithFrame:CGRectMake(100, 200, 200, 50)];
    zhuce.text = @"账号";
    UILabel *mima  = [[UILabel alloc]initWithFrame:CGRectMake(100, 255, 200, 50)];
    mima.text = @"密码";
    UILabel *queren = [[UILabel alloc]initWithFrame:CGRectMake(100, 305, 200, 50)];
    queren.text = @"确认密码";
    UILabel *youxiang = [[UILabel alloc]initWithFrame:CGRectMake(100, 360, 200, 50)];
    youxiang.text = @"邮箱";
    UILabel *lianxi  = [[UILabel alloc]initWithFrame:CGRectMake(100, 415, 200, 50)];
    lianxi.text  =@"联系方式";
    
    [self.view addSubview:lianxi];
    [self.view addSubview:youxiang];
    [self.view addSubview:queren];
    [self.view addSubview:zhuce];
    [self.view addSubview:mima];
    [lianxi release];
    [youxiang release];
    [queren release];
    [zhuce release];
    [mima release];
    
    
    
    
    UITextField *zhang = [[UITextField alloc]initWithFrame:CGRectMake(180, 200, 200, 50)];
    zhang.placeholder =@"请输入账号";
    [self.view addSubview:zhang];
    [zhang release];
    
    UITextField *qing = [[UITextField alloc]initWithFrame:CGRectMake(180, 255, 200, 50)];
    qing.placeholder =@"请输入密码";
    [self.view addSubview:qing];
    [qing release];
    
    UITextField *que = [[UITextField alloc]initWithFrame:CGRectMake(180, 305, 200, 50)];
    que.placeholder =@"请输确认密码";
    [self.view addSubview:que];
    [que release];
    
    UITextField *you = [[UITextField alloc]initWithFrame:CGRectMake(180, 360, 200, 50)];
    you.placeholder =@"请输入邮箱";
    [self.view addSubview:you];
    [you release];
    
    UITextField *lian = [[UITextField alloc]initWithFrame:CGRectMake(180, 415, 200, 50)];
    lian.placeholder =@"请输入联系方式";
    [self.view addSubview:lian];
    [lian release];
    
    
    
    
    
}

@end
